package com.kakarote.admin.entity.BO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author LDH
 * @version 1.0
 * @description: 飞书日历对象
 * @date 2022/8/5 14:56
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("wk_fly_calendar")
@ApiModel(value = "飞书日历对象", description = "飞书日历表")
public class AdminFlyCalendarBO {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("id 主键")
    private Long id;

    @ApiModelProperty("飞书日历id")
    private String calendarId;

    @ApiModelProperty("日历标题")
    private String summary;

    @ApiModelProperty("日历描述")
    private String description;

    @ApiModelProperty("日历公开范围")
    private String permissions;

    @ApiModelProperty("日历颜色")
    private String color;

    @ApiModelProperty("日历类型")
    private String type;

    @ApiModelProperty("日历备注名")
    private String summaryAlias;

    @ApiModelProperty("是否删除")
    private Boolean isDeleted;

    @ApiModelProperty("是否第三方数据")
    private Boolean isThirdParty;

    @ApiModelProperty("访问权限")
    private String role;

    @ApiModelProperty("飞书用户id")
    private String flyUserOpenId;

    @ApiModelProperty("飞书企业和唯一标识")
    private String flyTenantKey;

    @ApiModelProperty("appId")
    private String appId;
}
